package com.situ.mall.service;

import java.util.List;

import com.situ.mall.pojo.bo.ProductSearchBO;
import com.situ.mall.pojo.entity.Product;
import com.situ.mall.util.JSONResult;

public interface IProductService {

	JSONResult selectByPage(Integer page, Integer limit, ProductSearchBO productSearchBO);

	boolean deleteByPrimaryKey(Integer id);

	boolean deleteAll(Integer[] ids);

	boolean insert(Product product);

	List<Product> selectByCategoryId(Integer categoryId);

	Product selectProductById(Integer productId);

	boolean update(Product product);
	
}
